package com.wander.designStructural.decorator;

/**
 * @Author : WDYin
 * @Date : 2021/1/19
 * @Desc : 具体的装饰类
 */
public class ConcreteDecorator extends Decorator {

    public ConcreteDecorator(Component component) {
        super(component);
    }

    @Override
    public void music() {
        System.out.println("先吃饭，再听歌！");
        super.music();
    }
}
